From 5b1129a76f2f91d5f5503b078f975e55d9753312 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 29 Jan 2010 12:10:00 +0200 Subject: [PATCH] Build concurrency-stress-test only on Unix as it uses pthreads unconditionally --- tests/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 5b06374..9fa34e2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,7 @@ +if OS_UNIX +CONCURRENCY_STRESS_TEST = concurrency-stress-test +endif + TESTS = \ grayscale_to_rgb \ rgb_to_bgr \ @@ -7,12 +11,14 @@ TESTS = \ babl_class_name \ types \ models \ - concurrency-stress-test + $(CONCURRENCY_STRESS_TEST) TESTS_ENVIRONMENT = BABL_PATH=$(top_builddir)/extensions/.libs AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/babl +if OS_UNIX AM_LDFLAGS = -pthread +endif LDADD = $(top_builddir)/babl/libbabl-@BABL_API_VERSION@.la \ $(MATH_LIB) -- 2.30.2